require_relative '../../../../node_modules/react-native-test-app/test_app'

workspace 'RealmTests.xcworkspace'

ENV['USE_CCACHE'] = ENV['USE_CCACHE'] || Pod::Executable::which('ccache') ? '1' : '0'

options = {
  :hermes_enabled => ENV['USE_HERMES'] && ENV['USE_HERMES'] == '0' ? false : true,
  :bridgeless_enabled => ENV['USE_BRIDGELESS'] && ENV['USE_BRIDGELESS'] == '0' ? false : true,
}

use_test_app! options
